package com.exam.api.entity;

import com.exam.api.common.BaseEntity;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
* @description: 考试信息实体类
* @author: wuming
* @create: 2024.05.03 13:24:03
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Exam extends BaseEntity {

    /**
    * 考试编号
    */
    private Long id;
    /**
    * 考试名称
    */
    private String examName;
    /**
    * 老师信息
    */
    private Long teacherId;
    /**
     * 考试封面
     */
    private String examavatar;
    /**
    * 创建时间
    */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 考试时长
     */
    private Integer examDuration;
    /**
     * 考试截止时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    /**
    * 备注
    */
    private String remark;


}
